package com.starbaba.spread.service;

import java.util.List;

import com.starbaba.core.service.CommonService;
import com.starbaba.core.web.page.PageResponse;
import com.starbaba.spread.model.ShortLinkAddisusedModel;
import com.starbaba.spread.model.ShortLinkTableVO;
import com.starbaba.spread.model.SpreadChannelModel;
import com.starbaba.spread.model.TableVO;

public interface SpreadService {
	public List<TableVO> getDataList(int iDisplayStart, int iDisplayLength,
			SpreadChannelModel model, PageResponse pageResponse , CommonService server);
	
	public List<ShortLinkTableVO> getShortLink(int iDisplayStart, int iDisplayLength,
			SpreadChannelModel model, PageResponse pageResponse , CommonService server) throws Exception;
	
	public void setNginxName(String name, String url) throws Exception;

	public int update(ShortLinkAddisusedModel model);

	public ShortLinkAddisusedModel queryShortLinkAddisusedModel(String id) throws Exception;
}

